package com.hoshiicloud.withdraw.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * (UserWithdrawMonth)user_withdraw_month
 *
 * @author makejava
 * @since 2019-08-21 17:31:42
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("user_withdraw_month")
public class UserWithdrawMonth extends Model<UserWithdrawMonth> {
    
                /**
         * 主键
         */
    @TableId("id")
    private Integer id;
    
        /**
         * 创建时间
         */
    @TableField("create_time")
    private Date createTime;
    
        /**
         * 修改时间
         */
    @TableField("update_time")
    private Date updateTime;
    
        /**
         * 是否删除
         */
    @TableField("is_del")
    private Byte isDel;
    
        /**
         * 用户id
         */
    @TableField("user_id")
    private Integer userId;
    
        /**
         * 提现平台id
         */
    @TableField("contract_platform_id")
    private Integer contractPlatformId;
    
        /**
         * 年份
         */
    @TableField("year")
    private String year;
    
        /**
         * 月份
         */
    @TableField("month")
    private String month;
    
        /**
         * 当月提现累计金额
         */
    @TableField("cumulative_money")
    private String cumulativeMoney;
    
        /**
         * 当月对应提现平台剩余额度
         */
    @TableField("left_money")
    private String leftMoney;
    
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}